package com.gongye.courseselectionsystem.pojo.vo;

import com.gongye.courseselectionsystem.constants.ResultCodeEnum;
import lombok.Data;

/**
 * @author baorongchuan
 */
@Data
public class ResultList {

    private Integer status;
    private String statusTest;
    private Object data;

    public ResultList(ResultCodeEnum resultCodeEnum, Object data) {
        this.status = resultCodeEnum.getCode();
        this.statusTest = resultCodeEnum.getMessage();
        this.data = data;
    }
}
